#include "junix.h"
using namespace std;

int main(int argc, char **argv)
{
	cout<<dec<<2<<" <-> "<<hex<<2<<endl;
	cout<<dec<<1<<" <-> "<<hex<<1<<endl;
	cout<<dec<<0<<" <-> "<<hex<<0<<endl;
	cout<<dec<<-1<<" <-> "<<hex<<-1<<endl;
	cout<<dec<<-2<<" <-> "<<hex<<-2<<endl;
	cout<<dec<<-3<<" <-> "<<hex<<-3<<endl;
	cout<<dec<<numeric_limits<int>::min()<<endl;
	cout<<hex<<numeric_limits<int>::min()<<endl;
	cout<<dec<<numeric_limits<int>::max()<<endl;
	cout<<hex<<numeric_limits<int>::max()<<endl;

	cout<<dec<<-123U<<endl;
}
